import Main from '@/views/Main.vue';
import mainBaseManagement from '@/views/mainVue/mainBaseManagement.vue';
import mainSystemManagement from '@/views/mainVue/mainSystemManagement.vue';
import mainXieTongManagement from '@/views/mainVue/mainXieTongManagement.vue';
import mainFuwuServerManagement from '@/views/mainVue/mainFuwuServerManagement.vue';/*基础管理*/
import mainServerResourceManagement from '@/views/mainVue/mainServerResourceManagement.vue';/*服务资源管理*/
import mainTongJiManagement from '@/views/mainVue/mainTongJiManagement.vue';
import mainServiceInterfaceManagement from '@/views/mainVue/mainServiceInterfaceManagement.vue';
import mainServiceRequestManagement from '@/views/mainVue/mainServiceRequestManagement.vue';
import mainServiceStatisticsReport from '@/views/mainVue/mainServiceStatisticsReport.vue';
import mainServiceMonitoringLog from '@/views/mainVue/mainServiceMonitoringLog.vue';
import mainApplicationManagement from '@/views/mainVue/mainApplicationManagement.vue';
import mainApplicationLogManagement from '@/views/mainVue/mainApplicationLogManagement.vue';
import mainApplicationOfEvaluationManagement from '@/views/mainVue/mainApplicationOfEvaluationManagement.vue';
import mainApplicationAudit from '@/views/mainVue/mainApplicationAudit.vue';
import mainOragionInfo from '@/views/mainVue/mainOragionInfo.vue';
import mainServerList from '@/views/mainVue/mainServerList.vue';
import mainAnOverviewOfApplicationStatistics from '@/views/mainVue/mainAnOverviewOfApplicationStatistics.vue';
import mainApplicationStatistics from '@/views/mainVue/mainApplicationStatistics.vue';

// 不作为Main组件的子页面展示的页面单独写，如下
export const loginRouter = {
    path: '/login',
    name: 'login',
    meta: {
        title: 'Login - 登录'
    },
    component: () => import('@/views/login.vue')
};

export const loginRouterSecond = {
    path: '/loginSecond',
    name: 'loginSecond',
    meta: {
        title: 'Login - 登录'
    },
    component: () => import('@/views/uam/login/login2.vue')
};

export const page404 = {
    path: '/*',
    name: 'error-404',
    meta: {
        title: '404-页面不存在'
    },
    component: () => import('@/views/error-page/404.vue')
};

export const page403 = {
    path: '/403',
    meta: {
        title: '403-权限不足'
    },
    name: 'error-403',
    component: () => import('@//views/error-page/403.vue')
};

export const page500 = {
    path: '/500',
    meta: {
        title: '500-服务端错误'
    },
    name: 'error-500',
    component: () => import('@/views/error-page/500.vue')
};

export const preview = {
    path: '/preview',
    name: 'preview',
    component: () => import('@/views/form/article-publish/preview.vue')
};

export const locking = {
    path: '/locking',
    name: 'locking',
    component: () => import('@/views/main-components/lockscreen/components/locking-page.vue')
};

// 作为Main组件的子页面展示但是不在左侧菜单显示的路由写在otherRouter里
export const otherRouter = {
    path: '/',
    name: 'otherRouter',
    redirect: '/home',
    component: Main,
    children: [
        { path: 'home', title: {i18n: 'home'}, name: 'home_index', component: () => import('@/views/home/home.vue') },
        { path: 'ownspace', title: '个人中心', name: 'ownspace_index', component: () => import('@/views/own-space/own-space.vue') },
        { path: 'order/:order_id', title: '订单详情', name: 'order-info', component: () => import('@/views/advanced-router/component/order-info.vue') }, // 用于展示动态路由
        { path: 'shopping', title: '购物详情', name: 'shopping', component: () => import('@/views/advanced-router/component/shopping-info.vue') }, // 用于展示带参路由
        { path: 'message', title: '消息中心', name: 'message_index', component: () => import('@/views/message/message.vue') }
    ]
};

// 作为Main组件的子页面展示并且在左侧菜单显示的路由写在appRouter里
export const appRouter = [
    {
        path: '/api-manage',
        icon: 'ios-grid-view',
        name: 'api-manage',
        title: 'api网关',
        component: Main,
        children: [
            { path: 'serviceProvicer', title: '服务方管理', name: 'provider', icon: 'arrow-move', component: () => import('@/views/api-manage/provider.vue') },
            { path: 'requester', title: '请求方管理', name: 'requester', icon: 'edit', component: () => import('@/views/api-manage/requester.vue') },
            { path: 'interfaceManage', title: '接口管理', name: 'serviceInfo', icon: 'edit', component: () => import('@/views/api-manage/serviceInfo.vue') },
            { path: 'serReqAssociation', title: '关联管理', name: 'serReqAssociation', icon: 'edit', component: () => import('@/views/api-manage/serReqAssociation.vue') },
            { path: 'invokLog', title: '调用日志', name: 'invokLog', icon: 'edit', component: () => import('@/views/api-manage/invokLog.vue') },
            { path: 'operationLog', title: '操作日志', name: 'operationLog', icon: 'edit', component: () => import('@/views/api-manage/operationLog.vue') },
            { path: 'logStatistics', title: '日志统计', name: 'logStatistics', icon: 'edit', component: () => import('@/views/api-manage/logStatistics.vue') },
            { path: 'accessControl', title: '访问控制', name: 'accessControl', icon: 'edit', component: () => import('@/views/api-manage/accesscontrol.vue') },
            { path: 'interfaceFlow', title: '接口流量统计', name: 'interfaceFlow', icon: 'edit', component: () => import('@/views/api-manage/interfaceFlow.vue') },
            { path: 'serviceApiMonitor', title: '接口流量监控统计', name: 'serviceApiMonitor', icon: 'edit', component: () => import('@/views/api-manage/serviceApiMonitor.vue') },
            { path: 'serviceFrequencyMonitoring', title: '服务频率监控', name: 'serviceFrequencyMonitoring', icon: 'edit', component: () => import('@/views/api-manage/serviceFrequencyMonitoring.vue') },
            { path: 'serviceQualityMonitoring', title: '服务质量统计', name: 'serviceQualityMonitoring', icon: 'edit', component: () => import('@/views/api-manage/serviceQualityMonitoring.vue') },
            { path: 'providerServiceMonitor', title: '提供者服务器监控', name: 'providerServiceMonitor', icon: 'edit', component: () => import('@/views/api-manage/providerServiceMonitor.vue') },
        ]
    },
    {
        path: '/app-market-dataBase',
        icon: 'ios-grid-view',
        title: '市场管理',
        name: 'app-market',
        component: Main,
        children: [
            { path: 'market', title: '应用市场', name: 'market', icon: 'search', component: () => import('@/views/app-market/market/market.vue') },
            { path: 'applicationType', title: '应用分类', name: 'application-type', icon: 'search', component: () => import('@/views/app-market/application-type/application-type.vue') },
            { path: 'supplier', title: '开发者管理', name: 'supplier', icon: 'search', component: () => import('@/views/app-market/supplier/supplier.vue') },
            { path: 'app-authorization', icon: 'compose', name: 'appauthorization',  title: '应用授权', component: () => import('@/views/app-market/app-authorization/app-authorization.vue')}
        ]
    },
    {
        path: '/app-market-manage',
        icon: 'key',
        name: 'appMarket',
        title: '应用管理',
        component: Main,
        children: [
            {
                path: 'app-summary',
                icon: 'compose',
                name: 'appsummary',
                title: '应用管理',
                component: () => import('@/views/app-market/app-list/app-summary.vue')
            },
            {
                path: 'app-summary22',
                icon: 'compose',
                name: 'appsummary22',
                title: '应用管理Test',
                component: () => import('@/views/app-market/app-list/app-summary-test.vue')
            },
            {
                path: 'app-summary-add',
                icon: 'compose',
                name: 'appsummaryAdd',
                title: '新增应用',
                component: () => import('@/views/app-market/app-list/app-summary-add.vue')
            },
            {
                path: 'app-verify-public',
                icon: 'compose',
                name: 'appverifypublic',
                title: '应用发布管理',
                component: () => import('@/views/app-market/app-list/app-verify-public.vue')
            },
            {
                path: 'app-verify-update',
                icon: 'compose',
                name: 'appverifyupdate',
                title: '应用更新审核',
                component: () => import('@/views/app-market/app-list/app-verify-update.vue')
            }
        ]
    },
    {
        path: '/uam',
        icon: 'key',
        name: 'uam',
        title: '系统管理',
        component: Main,
        children: [
            { path: 'user', title: '用户管理', name: 'user', icon: 'link', component: () => import('@/views/uam/user/user.vue') },
            { path: 'role', title: '角色管理', name: 'role', icon: 'link', component: () => import('@/views/uam/role/role.vue') },
            { path: 'organization', title: '部门管理', name: 'organization', icon: 'link', component: () => import('@/views/uam/organization/organization.vue') },
            { path: 'dictionary', title: '字典管理', name: 'dictionary', icon: 'link', component: () => import('@/views/uam/dictionary/dictionary.vue') },
            { path: 'jobCategory', title: '警种管理', name: 'jobCategory', icon: 'link', component: () => import('@/views/uam/job-category/job-category.vue') },
            { path: 'test-uam', title: 'test-uam', name: 'test-uam', icon: 'link', component: () => import('@/views/uam/test/test.vue') },
            { path: 'login22', title: 'login22', name: 'login22', icon: 'edit', component: () => import('@/views/uam/login/login2.vue') },
        ]
    },
    {/*服务资源管理后台版*/
        path: '/serverResource',
        icon: 'key',
        name: 'serverResource',
        title: '服务资源管理',
        component: Main,
        children: [
            { path: 'serverRegister', title: '服务资源注册', name: 'serverRegister', icon: 'link', component: () => import('@/views/serverResource/serverRegister/serverRegister.vue') },
            { path: 'shareServer', title: '共享服务发布', name: 'shareServer', icon: 'link', component: () => import('@/views/serverResource/shareServer/shareServer.vue') },
            { path: 'collectServer', title: '采集服务发布', name: 'collectServer', icon: 'link', component: () => import('@/views/serverResource/collectServer/collectServer.vue') },
        ]
    },
    {/*基础管理后台版*/
        path: '/fuwuServer',
        icon: 'key',
        name: 'fuwuServer',
        title: '基础管理',
        component: Main,
        children: [
            { path: 'organizationBace', title: '组织信息管理', name: 'organizationBace', icon: 'link', component: () => import('@/views/oragion-info/oragionInfo.vue') },
            { path: 'yuanData', title: '元数据管理', name: 'yuanData', icon: 'link', component: () => import('@/views/fuwuServer/yuanData/yuanData.vue') },
            { path: 'dataOrigin', title: '数据源管理', name: 'dataOrigin', icon: 'link', component: () => import('@/views/fuwuServer/dataOrigin/dataOrigin.vue') },
        ]
    },
    {
        path: '/applicationAudit',
        icon: 'key',
        name: 'applicationAudit',
        title: '应用审核',
        component: Main,
        children: [
            { path: 'applicationAudit2', title: '应用审核', name: 'applicationAudit2', icon: 'link', component: () => import('@/views/application-audit/applicationAudit.vue') },
        ]
    },
    {/*服务资源目录*/
        path: '/serverList',
        icon: 'key',
        name: 'serverList',
        title: '服务资源目录',
        component: Main,
        children: [
            { path: 'serverList2', title: '服务资源目录', name: 'serverList2', icon: 'link', component: () => import('@/views/server-list/fuwulist.vue')},
        ]
    },
    {/*区域资源目录*/
        path: '/areaResource',
        icon: 'key',
        name: 'areaResource',
        title: '区域资源管理',
        component: Main,
        children: [
            { path: 'areaAbout', title: '区域概述', name: 'areaAbout', icon: 'link', component: () => import('@/views/areaResource/areaAbout.vue')},
            { path: 'areaManage', title: '区域管理', name: 'areaManage', icon: 'link', component: () => import('@/views/areaResource/areaManage.vue')},
            { path: 'tongdaoManage', title: '通道管理', name: 'tongdaoManage', icon: 'link', component: () => import('@/views/areaResource/tongdaoManage.vue')},
            { path: 'shareServerRi', title: '共享服务日志', name: 'shareServerRi', icon: 'link', component: () => import('@/views/areaResource/shareServerRi.vue')},
            { path: 'collectServerRi', title: '采集服务日志', name: 'collectServerRi', icon: 'link', component: () => import('@/views/areaResource/collectServerRi.vue')},

        ]
    },
    {/*智能资源目录*/
        path: '/smartResource',/*首次在这个项目使用路由懒加载，原因是这个项目太大，很多东西没有优化，打开实在太慢*/
        icon: 'key',
        name: 'smartResource',
        title: '智能资源管理',
        component: Main,
        children: [
            { 
                path: 'smartResourceManage',
                title: '智能资源管理', 
                name: 'smartResourceManage', 
                icon: 'link', 
                component: resolve => require(['@/views/smartResource/smartResourceManage/smartResourceManage.vue'], resolve)
            },
            { 
                path: 'alertRi',
                title: '告警日志', 
                name: 'alertRi', 
                icon: 'link', 
                component: resolve => require(['@/views/smartResource/alertRi/alertRi.vue'], resolve)
            },
            { 
                path: 'serviceChore',
                title: '服务编排', 
                name: 'serviceChore', 
                icon: 'link', 
                component: resolve => require(['@/views/smartResource/serviceChore/serviceChore.vue'], resolve)
            },
        ]
    },
    // {
    //     path: '/access',
    //     icon: 'key',
    //     name: 'access',
    //     title: '权限管理',
    //     component: Main,
    //     children: [
    //         { path: 'index', title: '权限管理', name: 'access_index', component: () => import('@/views/access/access.vue') }
    //     ]
    // },
    // {
    //     path: '/access-test',
    //     icon: 'lock-combination',
    //     title: '权限测试页',
    //     name: 'accesstest',
    //     access: 0,
    //     component: Main,
    //     children: [
    //         { path: 'index', title: '权限测试页', name: 'accesstest_index', access: 0, component: () => import('@/views/access/access-test.vue') }
    //     ]
    // },
    // {
    //     path: '/international',
    //     icon: 'earth',
    //     title: {i18n: 'international'},
    //     name: 'international',
    //     component: Main,
    //     children: [
    //         { path: 'index', title: {i18n: 'international'}, name: 'international_index', component: () => import('@/views/international/international.vue') }
    //     ]
    // },
    // {/*业务协同后台版*/
    //     path: '/xietong',
    //     icon: 'key',
    //     name: 'xietong',
    //     title: '业务协同',
    //     component: Main,
    //     children: [
    //         { path: 'waitdan', title: '待办工单', name: 'waitdan', icon: 'link', component: () => import('@/views/xietong/waitdan/waitdan.vue') },
    //         { path: 'mydan', title: '我的工单', name: 'mydan', icon: 'link', component: () => import('@/views/xietong/mydan/mydan.vue') },
    //         { path: 'applydan', title: '工单申请', name: 'applydan', icon: 'link', component: () => import('@/views/xietong/applydan/applydan.vue') },
    //     ]
    // },
    // {/*统计报表后台版*/
    //     path: '/tongji',
    //     icon: 'key',
    //     name: 'tongji',
    //     title: '统计分析',
    //     component: Main,
    //     children: [
    //         { path: 'dantong', title: '业务统计', name: 'dantong', icon: 'link', component: () => import('@/views/tongji/dantong/dantong.vue') },
    //         { path: 'danping', title: '业务考核', name: 'danping', icon: 'link', component: () => import('@/views/tongji/danping/danping.vue') },
    //     ]
    // },
    // {
    //     path: '/applicationLogManagement',
    //     icon: 'key',
    //     name: 'applicationLogManagement',
    //     title: '应用日志管理',
    //     component: Main,
    //     children: [
    //         { path: 'applicationOfInformationSynchronizationLogs', title: '应用信息同步日志', name: 'applicationOfInformationSynchronizationLogs', icon: 'link', component: () => import('@/views/application-log-management/applicationOfInformationSynchronizationLogs.vue') },
    //         { path: 'applicationDownloadLog', title: '应用下载日志', name: 'applicationDownloadLog', icon: 'link', component: () => import('@/views/application-log-management/applicationDownloadLog.vue') },
    //         { path: 'applicationOfAuditLog', title: '应用审计日志', name: 'applicationOfAuditLog', icon: 'link', component: () => import('@/views/application-log-management/applicationOfAuditLog.vue') },
    //         { path: 'applicationMonitoringLog', title: '应用监控日志', name: 'applicationMonitoringLog', icon: 'link', component: () => import('@/views/application-log-management/applicationMonitoringLog.vue') },
    //     ]
    // },
    // {
    //     path: '/applicationReview',
    //     icon: 'key',
    //     name: 'applicationReview',
    //     title: '应用评价管理',
    //     component: Main,
    //     children: [
    //         { path: 'allApplications', title: '全部应用', name: 'allApplications', icon: 'link', component: () => import('@/views/application-review/allApplications.vue') },
    //         { path: 'applicationDetailedPage', title: '应用详细页面', name: 'applicationDetailedPage', icon: 'link', component: () => import('@/views/application-review/applicationDetailedPage.vue') },
    //     ]
    // },
    // {
    //     path: '/applicationOfStatisticalReports',
    //     icon: 'ios-infinite',
    //     name: 'applicationOfStatisticalReports',
    //     title: '应用统计报表',
    //     component: Main,
    //     children: [
    //         { path: 'anOverviewOfApplicationStatistics', title: '应用统计概览', name: 'anOverviewOfApplicationStatistics', icon: 'link', component: () => import('@/views/application-of-statistical-reports/anOverviewOfApplicationStatistics.vue') },
    //         { path: 'applicationStatistics', title: '应用使用统计', name: 'applicationStatistics', icon: 'android-send', component: () => import('@/views/application-of-statistical-reports/applicationStatistics.vue') },
    //         { path: 'activeApplication', title: '应用活跃情况', name: 'activeApplication', icon: 'link', component: () => import('@/views/application-of-statistical-reports/activeApplication.vue') },
    //         { path: 'applicationDistributionStatistics', title: '应用分布统计', name: 'applicationDistributionStatistics', icon: 'android-send', component: () => import('@/views/application-of-statistical-reports/applicationDistributionStatistics.vue') },
    //     ]
    // },
    // {
    //     path: '/advanced-router',
    //     icon: 'ios-infinite',
    //     name: 'advanced-router',
    //     title: '高级路由',
    //     component: Main,
    //     children: [
    //         { path: 'mutative-router', title: '动态路由', name: 'mutative-router', icon: 'link', component: () => import('@/views/advanced-router/mutative-router.vue') },
    //         { path: 'argument-page', title: '带参页面', name: 'argument-page', icon: 'android-send', component: () => import('@/views/advanced-router/argument-page.vue') }
    //     ]
    // },
    // {
    //     path: '/error-page',
    //     icon: 'android-sad',
    //     title: '错误页面',
    //     name: 'errorpage',
    //     component: Main,
    //     children: [
    //         { path: 'index', title: '错误页面', name: 'errorpage_index', component: () => import('@/views/error-page/error-page.vue') }
    //     ]
    // },
    // {
    //     path: '/component',
    //     icon: 'social-buffer',
    //     name: 'component',
    //     title: '组件',
    //     component: Main,
    //     children: [
    //         {
    //             path: 'text-editor',
    //             icon: 'compose',
    //             name: 'text-editor',
    //             title: '富文本编辑器',
    //             component: () => import('@/views/my-components/text-editor/text-editor.vue')
    //         },
    //         {
    //             path: 'md-editor',
    //             icon: 'pound',
    //             name: 'md-editor',
    //             title: 'Markdown编辑器',
    //             component: () => import('@/views/my-components/markdown-editor/markdown-editor.vue')
    //         },
    //         {
    //             path: 'image-editor',
    //             icon: 'crop',
    //             name: 'image-editor',
    //             title: '图片预览编辑',
    //             component: () => import('@/views/my-components/image-editor/image-editor.vue')
    //         },
    //         {
    //             path: 'draggable-list',
    //             icon: 'arrow-move',
    //             name: 'draggable-list',
    //             title: '可拖拽列表',
    //             component: () => import('@/views/my-components/draggable-list/draggable-list.vue')
    //         },
    //         {
    //             path: 'area-linkage',
    //             icon: 'ios-more',
    //             name: 'area-linkage',
    //             title: '城市级联',
    //             component: () => import('@/views/my-components/area-linkage/area-linkage.vue')
    //         },
    //         {
    //             path: 'file-upload',
    //             icon: 'android-upload',
    //             name: 'file-upload',
    //             title: '文件上传',
    //             component: () => import('@/views/my-components/file-upload/file-upload.vue')
    //         },
    //         {
    //             path: 'count-to',
    //             icon: 'arrow-graph-up-right',
    //             name: 'count-to',
    //             title: '数字渐变',
    //             // component: () => import('@/views/my-components/count-to/count-to.vue')
    //             component: () => import('@/views/my-components/count-to/count-to.vue')
    //         },
    //         {
    //             path: 'split-pane-page',
    //             icon: 'ios-pause',
    //             name: 'split-pane-page',
    //             title: 'split-pane',
    //             component: () => import('@/views/my-components/split-pane/split-pane-page.vue')
    //         }
    //     ]
    // },
    // {
    //     path: '/form',
    //     icon: 'android-checkbox',
    //     name: 'form',
    //     title: '表单编辑',
    //     component: Main,
    //     children: [
    //         { path: 'artical-publish', title: '文章发布', name: 'artical-publish', icon: 'compose', component: () => import('@/views/form/article-publish/article-publish.vue') },
    //         { path: 'workflow', title: '工作流', name: 'workflow', icon: 'arrow-swap', component: () => import('@/views/form/work-flow/work-flow.vue') }

    //     ]
    // },
    // {
    //     path: '/charts',
    //     icon: 'ios-analytics',
    //     name: 'charts',
    //     title: '图表',
    //     component: Main,
    //     children: [
    //         { path: 'pie', title: '饼状图', name: 'pie', icon: 'ios-pie', component: resolve => { require('@/views/access/access.vue') },
    //         { path: 'histogram', title: '柱状图', name: 'histogram', icon: 'stats-bars', component: resolve => { require('@/views/access/access.vue') }

    //     ]
    // },
    // {
    //     path: '/tables',
    //     icon: 'ios-grid-view',
    //     name: 'tables',
    //     title: '表格',
    //     component: Main,
    //     children: [
    //         { path: 'dragableTable', title: '可拖拽排序', name: 'dragable-table', icon: 'arrow-move', component: () => import('@/views/tables/dragable-table.vue') },
    //         { path: 'editableTable', title: '可编辑表格', name: 'editable-table', icon: 'edit', component: () => import('@/views/tables/editable-table.vue') },
    //         { path: 'searchableTable', title: '可搜索表格', name: 'searchable-table', icon: 'search', component: () => import('@/views/tables/searchable-table.vue') },
    //         { path: 'exportableTable', title: '表格导出数据', name: 'exportable-table', icon: 'code-download', component: () => import('@/views/tables/exportable-table.vue') },
    //         { path: 'table2image', title: '表格转图片', name: 'table-to-image', icon: 'images', component: () => import('@/views/tables/table-to-image.vue') }
    //     ]
    // },
];

//新增一个类Main组件，它的子面展示并且在左侧菜单显示的路由在这里appRouterNew里
export const appRouterBaseManagement = [
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'supplierManagement', title: '供应商管理', name: 'supplierManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/supplier/supplier.vue') },

        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'applicationMarketManagement', title: '应用市场管理', name: 'applicationMarketManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/market/market.vue') },

        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'applicationClassificationManagement', title: '应用分类管理', name: 'applicationClassificationManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/application-type/application-type.vue') },

        ]
    },
];
export const appRouterSystemManagement = [
    {
        path: '/webos/systemManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'userManagement', title: '用户管理', name: 'userManagement', icon: 'ios-navigate', component: () => import('@/views/uam/user/user.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'roleManagement', title: '角色管理', name: 'roleManagement', icon: 'ios-navigate', component: () => import('@/views/uam/role/role.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'organizationManagement', title: '部门管理', name: 'organizationManagement', icon: 'ios-navigate', component: () => import('@/views/uam/organization/organization.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'policeManagement', title: '警种管理', name: 'policeManagement', icon: 'ios-navigate', component: () => import('@/views/uam/job-category/job-category.vue') },
        ]
    },

];

export const appRouterServerResourceManagement = [/*服务资源前台版*/
    {
        path: '/webos/ServerResourceManagement',
        icon: 'ios-navigate',
        name: 'ServerResourceManagement',
        title: '服务资源管理',
        component: mainServerResourceManagement,
        children: [
            { path: 'serverRegisterManagement', title: '服务资源注册', name: 'serverRegisterManagement', icon: 'ios-navigate', component: () => import('@/views/serverResource/serverRegister/serverRegister.vue') },
        ]
    },
    {
        path: '/webos/ServerResourceManagement',
        icon: 'ios-navigate',
        name: 'ServerResourceManagement',
        title: '基础管理',
        component: mainServerResourceManagement,
        children: [
            { path: 'shareServerManagement', title: '共享服务发布', name: 'shareServerManagement', icon: 'ios-navigate', component: () => import('@/views/serverResource/shareServer/shareServer.vue') },
        ]
    },
    {
        path: '/webos/ServerResourceManagement',
        icon: 'ios-navigate',
        name: 'ServerResourceManagement',
        title: '基础管理',
        component: mainServerResourceManagement,
        children: [
            { path: 'collectServerManagement', title: '采集服务发布', name: 'collectServerManagement', icon: 'ios-navigate', component: () => import('@/views/serverResource/collectServer/collectServer.vue') },
        ]
    },
];


export const appRouterFuwuServerManagement = [/*基础管理前台版*/
    {
        path: '/webos/FuwuServerManagement',
        icon: 'ios-navigate',
        name: 'FuwuServerManagement',
        title: '基础管理',
        component: mainFuwuServerManagement,
        children: [
            { path: 'organizationBaceFront', title: '组织信息管理', name: 'organizationBaceFront', icon: 'ios-navigate', component: () => import('@/views/oragion-info/oragionInfo.vue') },
        ]
    },
    {
        path: '/webos/FuwuServerManagement',
        icon: 'ios-navigate',
        name: 'FuwuServerManagement',
        title: '基础管理',
        component: mainFuwuServerManagement,
        children: [
            { path: 'dataOriginManagement', title: '数据源管理', name: 'dataOriginManagement', icon: 'ios-navigate', component: () => import('@/views/fuwuServer/dataOrigin/dataOrigin.vue') },
        ]
    },
    {
        path: '/webos/FuwuServerManagement',
        icon: 'ios-navigate',
        name: 'FuwuServerManagement',
        title: '基础管理',
        component: mainFuwuServerManagement,
        children: [
            { path: 'yuanDataManagement', title: '元数据管理', name: 'yuanDataManagement', icon: 'ios-navigate', component: () => import('@/views/fuwuServer/yuanData/yuanData.vue') },
        ]
    },
];

export const appRouterXieTongManagement = [/*业务协同前台版*/
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'waitDanManagement', title: '待办工单', name: 'waitDanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/waitdan/waitdan.vue') },
        ]
    },
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'mydanManagement', title: '我的工单', name: 'mydanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/mydan/mydan.vue') },
        ]
    },
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'applydanManagement', title: '申请工单', name: 'applydanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/applydan/applydan.vue') },
        ]
    },
];

export const appRouterTongJiManagement = [/*统计报表前台版*/
    {
        path: '/webos/TongJiManagement',
        icon: 'ios-navigate',
        name: 'TongJiManagement',
        title: '统计分析',
        component: mainTongJiManagement,
        children: [
            { path: 'danTongManagement', title: '业务统计', name: 'danTongManagement', icon: 'ios-navigate', component: () => import('@/views/tongji/dantong/dantong.vue') },
        ]
    },
    {
        path: '/webos/TongJiManagement',
        icon: 'ios-navigate',
        name: 'TongJiManagement',
        title: '统计分析',
        component: mainTongJiManagement,
        children: [
            { path: 'danPingManagement', title: '业务考核', name: 'danPingManagement', icon: 'ios-navigate', component: () => import('@/views/tongji/danping/danping.vue') },
        ]
    },
];

export const appRouterServiceInterfaceManagement = [/*服务接口*/
    {
        path: '/webos/serviceInterfaceManagement',
        icon: 'ios-navigate',
        name: 'serviceInterfaceManagement',
        title: '服务接口管理',
        component: mainServiceInterfaceManagement,
        children: [
            { path: 'accessControl2', title: '访问控制', name: 'accessControl2', icon: 'ios-navigate', component: () => import('@/views/api-manage/accesscontrol.vue') },
        ]
    },
    {
        path: '/webos/serviceInterfaceManagement',
        icon: 'ios-navigate',
        name: 'serviceInterfaceManagement',
        title: '服务接口管理',
        component: mainServiceInterfaceManagement,
        children: [
            { path: 'serviceInterfaceManagement2', title: '服务接口管理', name: 'serviceInterfaceManagement2', icon: 'ios-navigate', component: () => import('@/views/api-manage/serviceInfo.vue') },
        ]
    },

];
export const appRouterServiceRequestManagement = [
    {
        path: '/webos/serviceRequestManagement',
        icon: 'ios-navigate',
        name: 'serviceRequestManagement',
        title: '服务请求管理',
        component: mainServiceRequestManagement,
        children: [
            { path: 'requestingManagement', title: '请求方管理', name: 'requestingManagement', icon: 'ios-navigate', component: () => import('@/views/api-manage/requester.vue') },
        ]
    },
    {
        path: '/webos/serviceRequestManagement',
        icon: 'ios-navigate',
        name: 'serviceRequestManagement',
        title: '服务请求管理',
        component: mainServiceRequestManagement,
        children: [
            { path: 'serviceRequestManagement2', title: '服务请求管理', name: 'serviceRequestManagement2', icon: 'ios-navigate', component: () => import('@/views/api-manage/serReqAssociation.vue') },
        ]
    },

];
export const appRouterServiceStatisticsReport = [
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'servicesOverview', title: '服务概览', name: 'servicesOverview', icon: 'ios-navigate', component: () => import('@/views/api-manage/logStatistics.vue') },
        ]
    },
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'interfaceTrafficStatistics', title: '接口流量统计', name: 'interfaceTrafficStatistics', icon: 'ios-navigate', component: () => import('@/views/api-manage/interfaceFlow.vue') },
        ]
    },
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'servicesFrequencyCount', title: '服务频率统计', name: 'servicesFrequencyCount', icon: 'ios-navigate', component: () => import('@/views/api-manage/serviceFrequencyMonitoring.vue') },
        ]
    },

];
export const appRouterServiceMonitoringLog = [
    {
        path: '/webos/serviceMonitoringLog',
        icon: 'ios-navigate',
        name: 'serviceMonitoringLog',
        title: '服务监控日志',
        component: mainServiceMonitoringLog,
        children: [
            { path: 'serviceCallLog', title: '服务调用日志', name: 'serviceCallLog', icon: 'ios-navigate', component: () => import('@/views/api-manage/invokLog.vue') },
        ]
    },
    {
        path: '/webos/serviceMonitoringLog',
        icon: 'ios-navigate',
        name: 'serviceMonitoringLog',
        title: '服务监控日志',
        component: mainServiceMonitoringLog,
        children: [
            { path: 'userOperationLog', title: '用户操作日志', name: 'userOperationLog', icon: 'ios-navigate', component: () => import('@/views/api-manage/operationLog.vue') },
        ]
    },

];
export const appRouterApplicationManagement = [
    {
        path: '/webos/applicationManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用管理',
        component: mainApplicationManagement,
        children: [
            { path: 'applicationManagement2', title: '应用管理', name: 'applicationManagement2', icon: 'ios-keypad', component: () => import('@/views/app-market/app-list/app-summary.vue') },
        ]
    },
    {
        path: '/webos/applicationManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用管理',
        component: mainApplicationManagement,
        children: [
            { path: 'newApplication', title: '新增应用', name: 'newApplication', icon: 'plus-circled', component: () => import('@/views/app-market/app-list/app-summary-add.vue') },
        ]
    },

];
export const appRouterApplicationLogManagement = [
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationOfInformationSynchronizationLogs2', title: '应用信息同步日志', name: 'applicationOfInformationSynchronizationLogs2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationOfInformationSynchronizationLogs.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationDownloadLog2', title: '应用下载日志', name: 'applicationDownloadLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationDownloadLog.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationOfAuditLog2', title: '应用审计日志', name: 'applicationOfAuditLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationOfAuditLog.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationMonitoringLog2', title: '应用监控日志', name: 'applicationMonitoringLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationMonitoringLog.vue') },
        ]
    },

];
export const appRouterApplicationOfEvaluationManagement = [
    {
        path: '/webos/applicationOfEvaluationManagement',
        name: 'applicationOfEvaluationManagement',
        title: '湖南省应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2s', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2s',  component: () => import('@/views/application-review/allApplications2.vue') },
            { path: 'applicationOfEvaluationManagement2ss', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ss',  component: () => import('@/views/application-review/allApplications3.vue') },
            { path: 'applicationOfEvaluationManagement2sss', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sss',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },
    {
        path: '/webos/applicationOfEvaluationManagementAA',
        name: 'applicationOfEvaluationManagementAA',
        title: '长沙市应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2AA', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2AA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sAA', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2sAA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2ssAA', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ssAA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sssAA', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sssAA',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },
    {
        path: '/webos/applicationOfEvaluationManagementAAB',
        name: 'applicationOfEvaluationManagementAAB',
        title: '株洲市应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2AAB', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2AAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sAAB', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2sAAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2ssAAB', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ssAAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sssAAB', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sssAAB',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },

];
export const appRouterApplicationAudit = [
    {
        path: '/webos/applicationAudit',
        icon: 'ios-navigate',
        name: 'applicationAudit',
        title: '应用审核',
        component: mainApplicationAudit,
        children: [
            { path: 'applicationAudit3', title: '应用审核', name: 'applicationAudit3', icon: 'ios-navigate', component: () => import('@/views/application-audit/applicationAudit.vue') },
        ]
    },

];

export const appRouterOragionInfo = [/*组织信息管理*/
    {
        path: '/webos/oragionInfo',
        icon: 'ios-navigate',
        name: 'oragionInfo',
        title: '组织信息管理',
        component: mainOragionInfo,
        children: [
            { path: 'oragionInfo3', title: '组织信息管理', name: 'oragionInfo3', icon: 'ios-navigate', component: () => import('@/views/oragion-info/oragionInfo.vue') },
        ]
    },

];

export const appRouterServerList = [/*服务资源目录前台版*/
    {
        path: '/webos/serverList',
        icon: 'ios-navigate',
        name: 'serverList',
//      component: mainServerList,
        component: () => import('@/views/server-list/fuwulist.vue'),
        title: '服务资源目录',
        children: [
            { path: 'serverList2', title: '服务资源目录', name: 'serverList2', icon: 'ios-navigate', component: () => import('@/views/server-list/fuwulist.vue') },
        ]
    },
];

export const appRouterAreaResourceManagement = [/*区域资源管理前台版*/
    {
        path: '/webos/areaResource',
        icon: 'ios-navigate',
        name: 'areaResource2',
//      component: Main,
        component: () => import('@/views/areaResource/areaPageAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'areaAbout2', title: '区域概述', name: 'webosareaAbout', icon: 'ios-navigate', component: () => import('@/views/areaResource/areaAbout.vue') },
        ]
    },
    {
        path: '/webos/areaResource',
        icon: 'ios-navigate',
        name: 'areaResource2',
//      component: mainServerList,
        component: () => import('@/views/areaResource/areaPageAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'areaManage2', title: '区域管理', name: 'webosareaManage', icon: 'link', component: () => import('@/views/areaResource/areaManage.vue')},
        ]
    },
     {
        path: '/webos/areaResource',
        icon: 'ios-navigate',
        name: 'areaResource2',
//      component: mainServerList,
        component: () => import('@/views/areaResource/areaPageAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'tongdaoManage2', title: '通道管理', name: 'webostongdaoManage', icon: 'link', component: () => import('@/views/areaResource/tongdaoManage.vue')},
        ]
    },
     {
        path: '/webos/areaResource',
        icon: 'ios-navigate',
        name: 'areaResource2',
//      component: mainServerList,
        component: () => import('@/views/areaResource/areaPageAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'shareServerRi2', title: '共享服务日志', name: 'webosshareServerRi', icon: 'link', component: () => import('@/views/areaResource/shareServerRi.vue')},
        ]
    },
     {
        path: '/webos/areaResource',
        icon: 'ios-navigate',
        name: 'areaResource2',
//      component: mainServerList,
        component: () => import('@/views/areaResource/areaPageAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'collectServerRi2', title: '采集服务日志', name: 'weboscollectServerRi', icon: 'link', component: () => import('@/views/areaResource/collectServerRi.vue')},
        ]
    },
];


export const appRouterSmartResourceManagement = [/*智能资源管理前台版*/
    {
        path: '/webos/smartResource',
        icon: 'ios-navigate',
        name: 'smartResource2',
//      component: Main,
        component: () => import('@/views/smartResource/smartResourceAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'smartResourceManage2', title: '智能资源管理', name: 'smartResourceManage2', icon: 'ios-navigate', component: () => import('@/views/smartResource/smartResourceManage/smartResourceManage.vue') },
        ]
    },
    {
        path: '/webos/smartResource',
        icon: 'ios-navigate',
        name: 'smartResource2',
//      component: Main,
        component: () => import('@/views/smartResource/smartResourceAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'alertRi2', title: '告警日志', name: 'alertRi2', icon: 'ios-navigate', component: () => import('@/views/smartResource/alertRi/alertRi.vue')},
        ]
    },
    {
        path: '/webos/smartResource',
        icon: 'ios-navigate',
        name: 'smartResource2',
//      component: Main,
        component: () => import('@/views/smartResource/smartResourceAll.vue'),
        title: '区域资源管理',
        children: [
            { path: 'serviceChore2', title: '服务编排', name: 'serviceChore2', icon: 'ios-navigate', component: () => import('@/views/smartResource/serviceChore/serviceChore.vue')},
        ]
    },
];




export const appRouterAnOverviewOfApplicationStatistics = [
    {
        path: '/webos/anOverviewOfApplicationStatistics2',
        icon: 'ios-navigate',
        name: 'anOverviewOfApplicationStatistics2',
        title: '应用统计概览',
        component: mainAnOverviewOfApplicationStatistics,
        children: [
            { path: 'anOverviewOfApplicationStatistics3', title: '应用统计概览', name: 'anOverviewOfApplicationStatistics2', icon: 'ios-navigate', component: () => import('@/views/application-of-statistical-reports/anOverviewOfApplicationStatistics.vue') },
        ]
    },

];
export const appRouterApplicationStatistics = [
    {
        path: '/webos/applicationStatistics88',
        icon: 'ios-navigate',
        name: 'applicationStatistics88',
        title: '应用使用统计',
        component: mainApplicationStatistics,
        children: [
            { path: 'applicationStatistics8899', title: '应用使用统计', name: 'applicationStatistics8899', icon: 'ios-navigate', component: () => import('@/views/application-of-statistical-reports/applicationStatistics.vue') },
        ]
    },

];

//这里使用用作桌面前端
//市场管理
export const market = {//应用市场
    path: '/webos/app-market-dataBase/market',
    name: 'market',
    component: () => import('@/views/app-market/market/market.vue')
};
export const applicationType = {//应用分类
    path: '/webos/app-market-dataBase/applicationType',
    name: 'applicationType',
    component: () => import('@/views/app-market/application-type/application-type.vue')
};
export const supplier = {//供应商管理
    path: '/webos/app-market-dataBase/supplier',
    name: 'supplier',
    component: () => import('@/views/app-market/supplier/supplier.vue')
};
export const appauthorization = {//应用授权
    path: '/webos/app-market-dataBase/appauthorization',
    name: 'appauthorization',
    component: () => import('@/views/app-market/app-authorization/app-authorization.vue')
};
//应用管理
export const appSummary = {//应用管理
    path: '/webos/app-market-manage/app-summary',
    name: 'appSummary',
    component: () => import('@/views/app-market/app-list/app-summary.vue')
};
export const appVerifyPublic = {//应用发布管理
    path: '/webos/app-market-manage/app-verfiy-public',
    name: 'appVerifyPublic',
    component: () => import('@/views/app-market/app-list/app-verify-public.vue')
};
export const appVerifyUpdate = {//应用更新审核
    path: '/webos/app-market-manage/app-verify-update',
    name: 'appVerifyUpdate',
    component: () => import('@/views/app-market/app-list/app-verify-update.vue')
};
//系统管理
export const user = {//用户管理
    path: '/webos/uam/user',
    name: 'user',
    component: () => import('@/views/uam/user/user.vue')
};
export const role = {//角色管理
    path: '/webos/uam/role',
    name: 'role',
    component: () => import('@/views/uam/role/role.vue')
};
export const organization = {//部门管理
    path: '/webos/uam/organization',
    name: 'organization',
    component: () => import('@/views/uam/organization/organization.vue')
};
//api网关
export const serviceProvicer = {//服务方管理
    path: '/webos/api-manage/serviceProvicern',
    name: 'serviceProvicern',
    component: () => import('@/views/api-manage/provider.vue')
};
export const requesters = {//请求方管理
    path: '/webos/api-manage/requester',
    name: 'requesters',
    component: () => import('@/views/api-manage/requester.vue')
};
export const serviceInfo = {//接口管理
    path: '/webos/api-manage/interfaceManage',
    name: 'serviceInfo',
    component: () => import('@/views/api-manage/serviceInfo.vue')
};
export const serReqAssociation = {//关联管理
    path: '/webos/api-manage/serReqAssociation',
    name: 'serReqAssociation',
    component: () => import('@/views/api-manage/serReqAssociation.vue')
};
export const invokLog = {//调用日志
    path: '/webos/api-manage/invokLog',
    name: 'invokLog',
    component: () => import('@/views/api-manage/invokLog.vue')
};
export const operationLog = {//操作日志
    path: '/webos/api-manage/operationLog',
    name: 'operationLog',
    component: () => import('@/views/api-manage/operationLog.vue')
};
export const logStatistics = {//日志统计
    path: '/webos/api-manage/logStatistics',
    name: 'logStatistics',
    component: () => import('@/views/api-manage/logStatistics.vue')
};
export const accessControl = {//访问控制
    path: '/webos/api-manage/accessControl',
    name: 'logStatistics',
    component: () => import('@/views/api-manage/accessControl.vue')
};
export const interfaceFlow = {//接口流量统计
    path: '/webos/api-manage/interfaceFlow',
    name: 'logStatistics',
    component: () => import('@/views/api-manage/interfaceFlow.vue')
};
export const serviceFrequencyMonitoring = {//服务频率监控
    path: '/webos/api-manage/serviceFrequencyMonitoring',
    name: 'serviceFrequencyMonitoring',
    component: () => import('@/views/api-manage/serviceFrequencyMonitoring.vue')
};



// 所有上面定义的路由都要写在下面的routers里
export const routers = [
    loginRouter,
    loginRouterSecond,
    otherRouter,
    preview,
    locking,
    ...appRouter,
    page500,
    page403,
    //这里开始是webos的路由
    market,
    applicationType,
    supplier,
    appauthorization,
    appSummary,
    appVerifyPublic,
    appVerifyUpdate,
    user,
    role,
    organization,
    serviceProvicer,
    requesters,
    serviceInfo,
    serReqAssociation,
    invokLog,
    operationLog,
    logStatistics,
    accessControl,
    interfaceFlow,
    serviceFrequencyMonitoring,
    ...appRouterBaseManagement,
    ...appRouterSystemManagement,
    ...appRouterXieTongManagement,
    ...appRouterFuwuServerManagement,
    ...appRouterTongJiManagement,
    ...appRouterServerResourceManagement,
    ...appRouterServiceInterfaceManagement,
    ...appRouterServiceRequestManagement,
    ...appRouterServiceStatisticsReport,
    ...appRouterServiceMonitoringLog,
    ...appRouterApplicationManagement,
    ...appRouterApplicationLogManagement,
    ...appRouterApplicationOfEvaluationManagement,
    ...appRouterApplicationAudit,
    ...appRouterOragionInfo,
    ...appRouterServerList,
    ...appRouterAreaResourceManagement,
    ...appRouterSmartResourceManagement,
    ...appRouterAnOverviewOfApplicationStatistics,
    ...appRouterApplicationStatistics,
    page404
];
